package top.laoshuzi.designpatterns.base.behavior.visitor;

/**
 * 具体节点B
 */
public class ConcreteNodeB extends Node {

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public void operationB() {
        System.out.println("ConcreteNodeB operationB");
    }
}
